<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document1</title>
</head>

<body>
    <div onclick="alert('123')">点击我</div>
    <div onclick="clickTest()">测试打印</div>
    <h1 id="test">测试</h1>
    <h2 onclick="skip">点击跳转页面</h2>
    <input type="file" id="fileInput">
</body>
<script>
    let test = document.getElementById('test');
    function clickTest() {
        test.innerText = '234'
        test.style.color = 'red'
    }
    function skip(){
        window.location.href='/page/about/about'
    }
   
</script>

</html>